package ca.llsutherland.nfl.helper;

import ca.llsutherland.nfl.domain.Conference;
import ca.llsutherland.nfl.domain.Division;

public class DivisionHelper {

	public static Division createNewDivision(Long id, String name) {
		Division division = new Division();
		division.setId(id);
		division.setName(name);
		return division;
	}

	public static Division createNewDivision(Long id, String name, Conference conference) {
		Division division = createNewDivision(id, name);
		division.setConference(conference);
		return division;
	}

	public static Division createNewDivision(String name, Conference conference) {
		Division division = new Division();
		division.setName(name);
		division.setConference(conference);
		return division;
	}

}
